clc;
clear;
A=[9,3,4,2;
   3,6,0,7;
   4,0,6,0;
   2,7,0,9];
Dol=chol(A),
D1=chol(sym(A))